package com.petAdoption.manager.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.petAdoption.manager.entity.Orderlist;
import com.petAdoption.manager.mapper.OrderlistMapper;
import com.petAdoption.manager.service.IOrderlistService;
import com.petAdoption.manager.service.IProductlistService;
import com.petAdoption.manager.vo.OrderlistVO;
import com.petAdoption.manager.vo.ProductlistVO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 王倩茹
 * @since 2023-08-28
 */
@Service
public class OrderlistServiceImpl extends ServiceImpl<OrderlistMapper, Orderlist> implements IOrderlistService {
    @Resource
    private OrderlistMapper orderlistMapper;
    @Override
    public List<OrderlistVO> findAll(Integer productlistId) {
        return orderlistMapper.findAll(productlistId);
    }

//    @Override
//    public List<OrderlistVO> findAll(Integer productlistId) {
//        return orderlistMapper.findAll(productlistId);
//    }
}
